﻿using System;

namespace _5E.Utils.UserControlHelper
{
    [AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
    /// <summary>
    /// 用户控件渲染时属性特性
    /// </summary>
    public class UserControlRenderingPropertyAttribute : Attribute
    {
        #region 属性

        private string m_Key = null;
        public string Key
        {
            get { return m_Key; }
            set { m_Key = value; }
        }

        #endregion

        #region 构造函数

        public UserControlRenderingPropertyAttribute(string key)
        {
            m_Key = key;
        }

        #endregion
    }
}
